﻿<phone:PhoneApplicationPage x:Class="WPNEXT.MainPage"
                            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                            xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                            xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                            xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
                            xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
                            d:DesignHeight="800"
                            d:DesignWidth="480"
                            DataContext="{Binding Main,
                                                  Mode=OneWay,
                                                  Source={StaticResource Locator}}"
                            FontFamily="{StaticResource PhoneFontFamilyNormal}"
                            FontSize="{StaticResource PhoneFontSizeNormal}"
                            Foreground="{StaticResource PhoneForegroundBrush}"
                            Orientation="Portrait"
                            shell:SystemTray.IsVisible="False"
                            SupportedOrientations="Portrait"
                            mc:Ignorable="d">
    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.RowDefinitions>
            <RowDefinition Height="0.1*" />
            <RowDefinition Height="0.11*" />
            <RowDefinition Height="0.79*" />
        </Grid.RowDefinitions>

        <Grid x:Name="GridA" Grid.Row="0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
                <ColumnDefinition />
                <ColumnDefinition />
                <ColumnDefinition />
            </Grid.ColumnDefinitions>
            <Button x:Name="GuideBtn"
                    Grid.Column="0"
                    Background="Black"
                    Click="GuideBtnClick"
                    Content="Guide"
                    Foreground="White" />
            <Button x:Name="SimplePhotoListBox"
                    Grid.Column="1"
                    Background="Black"
                    Click="SimplePhotoListBox_Click"
                    Content="Simple"
                    Foreground="White" />
            <Button x:Name="ListBtn"
                    Grid.Column="2"
                    HorizontalAlignment="Right"
                    Background="Black"
                    Click="ListBtn_Click"
                    Content="ListBox"
                    Foreground="White" />
            <Button x:Name="ExplodePhotoListBox"
                    Grid.Column="3"
                    Background="Black"
                    Click="ExplodePhotoListBox_Click"
                    Content="Explode"
                    Foreground="White" />
        </Grid>
        <Grid Grid.Row="1" Margin="0">
            <Button x:Name="PageSpliterPage"
                    Background="Black"
                    Click="PageSpliterPage_Click"
                    Content="PageSplit"
                    Foreground="White" />
        </Grid>


    </Grid>

    <!--
        Sample code showing usage of ApplicationBar
        <phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
        <shell:ApplicationBarIconButton x:Name="appbar_button1" IconUri="/Images/appbar_button1.png" Text="Button 1"></shell:ApplicationBarIconButton>
        <shell:ApplicationBarIconButton x:Name="appbar_button2" IconUri="/Images/appbar_button2.png" Text="Button 2"></shell:ApplicationBarIconButton>
        <shell:ApplicationBar.MenuItems>
        <shell:ApplicationBarMenuItem x:Name="menuItem1" Text="MenuItem 1"></shell:ApplicationBarMenuItem>
        <shell:ApplicationBarMenuItem x:Name="menuItem2" Text="MenuItem 2"></shell:ApplicationBarMenuItem>
        </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
        </phone:PhoneApplicationPage.ApplicationBar>
    -->


</phone:PhoneApplicationPage>